import 'package:flutter/material.dart';

class Constant {
  /// debug开关，上线需要关闭
  /// App运行在Release环境时，inProduction为true；当App运行在Debug和Profile环境时，inProduction为false
  static const bool inProduction =
      const bool.fromEnvironment("dart.vm.product");

  static bool isTest = false;

  static const String data = 'data';
  static const String message = 'message';
  static const String code = 'code';

  static const String login_islogin = 'login_islogin';
  static const String humanId = 'humanId';
  static const String userId = 'userId';
  static const String cookie = 'cookieStr';
  static const String lastUpdatePwdTime = 'lastUpdatePwdTime';
  static const String branchId = 'branchId';
  static const String clientId = 'clientId';

  static const String userName = 'userName';
  static const String locaVersion = 'locaVersion';
  static const String applicationId = 'applicationId';
  static const String itemKey = 'readItem';

  static const String phone = 'phone';
  static const String login_userName = 'login_userName';

  static const String access_Token = 'accessToken';
  static const String refresh_Token = 'refreshToken';

  // static const List<String> orderLeftButtonText = ["拒单", "拒单", "订单跟踪", "订单跟踪", "订单跟踪"];
  // static const List<String> orderRightButtonText = ["接单", "开始配送", "完成", "", ""];

  static String eventUserLogin = 'EventUserLogin';
  static String eventHumanVisitSeaarch = 'eventHumanVisitSeaarch';
  static String eventOrgVisitSeaarch = 'eventOrgVisitSeaarch';
  static String eventHandoverRefresh = 'eventHandoverRefresh';
  static String eventElderFilter = 'eventElderFilter';
  static String eventElderRightFilter = 'eventElderRightFilter';
  static String eventElderCareAdd = 'eventElderCareAdd';
  static String eventElderInfoSave = 'eventElderInfoSave';

  static const List<Color> colorList = [
    Color(0xFFFFD147),
    Color(0xFFA9DAF2),
    Color(0xFFFAAF64),
    Color(0xFF7087FA),
    Color(0xFFA0E65C),
    Color(0xFF5CE6A1),
    Color(0xFFA364FA),
    Color(0xFFDA61F2),
    Color(0xFFFA64AE),
    Color(0xFFFA6464),
  ];
}
